.class public Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;
.super Landroid/widget/RelativeLayout;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/content/Context;

.field private d:Lcom/waiqin365/lightapp/kehu/view/d;

.field private e:Landroid/view/View;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 2

    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->c:Landroid/content/Context;

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f03005d

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0c02a4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->a:Landroid/widget/TextView;

    const v0, 0x7f0c02a5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->b:Landroid/widget/ImageView;

    const v0, 0x7f0c02a6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->e:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->b:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/view/e;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/view/e;-><init>(Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;)Lcom/waiqin365/lightapp/kehu/view/d;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->d:Lcom/waiqin365/lightapp/kehu/view/d;

    return-object v0
.end method


# virtual methods
.method public setBottomLineVisibility(Z)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->e:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->e:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public setDeleteListener(Lcom/waiqin365/lightapp/kehu/view/d;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->d:Lcom/waiqin365/lightapp/kehu/view/d;

    return-void
.end method

.method public setEdit(Z)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->b:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->b:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_0
.end method

.method public setText(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/AgencyItemView_vertical;->a:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method
